package com.xbongbong.pro.detailtab.pojo;

import lombok.Getter;
import lombok.Setter;

/**
 * @author feng.zheng
 * @version v1.0
 * @date 2019/6/22 10:43
 * @since v1.0
 */
@Getter
@Setter
public class TabConfigPojo {

    /**
     * 字段标识
     */
    private String attr;
    /**
     * 名称
     */
    private String name;

    /**
     * 对应的key
     */
    private String key;
    /**
     * 是否启用
     */
    private Integer enable;
    /**
     * sort
     */
    private Integer sort;
    /**
     * 特殊tab备注
     */
    private String specialMemo;

    public TabConfigPojo (){
        this.specialMemo = "";
    }

    public TabConfigPojo(String attr, String name, String key, Integer enable, Integer sort, String specialMemo) {
        this.attr = attr;
        this.name = name;
        this.key = key;
        this.enable = enable;
        this.sort = sort;
        this.specialMemo = specialMemo;
    }
}
